from mcp.server.fastmcp import FastMCP

mcp = FastMCP("Math Tools")

@mcp.tool()
def add(a: int, b: int) -> int:
    """Return the sum of two numbers."""
    return a + b

@mcp.tool()
def multiply(a: int, b: int) -> int:
    """Return the product of two numbers."""
    return a * b

if __name__ == "__main__":
    mcp.run(transport="stdio")

# To run this server, execute the script and communicate via standard input/output.


